<h1>Listing treatments</h1>

<table>
  <tr>
    <th>Description</th>
  </tr>

<% @treatments.each do |treatment| %>
  <tr>
    <td><%=h treatment.description %></td>
    <td><%= link_to 'Show', treatment %></td>
    <td><%= link_to 'Edit', edit_treatment_path(treatment) %></td>
    <td><%= link_to 'Destroy', treatment, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New treatment', new_treatment_path %>